//
//  OAuthRequestParams.h
//  OSChina
//
//  Created by 8b410-2 on 16/12/30.
//  Copyright © 2016年 abb. All rights reserved.
//

#import "OSCBaseRequestParams.h"
typedef NS_ENUM(NSInteger,GrantType) {
    GrantTypeCode,
    GrantTypeRefreshToken
};

@interface OSCOAuthRequestParams : OSCBaseRequestParams

@property (nonatomic, copy, readonly) NSString *client_id;
@property (nonatomic, copy, readonly) NSString *client_secret;
@property (nonatomic, copy, readonly) NSString *grant_type;
@property (nonatomic, copy, readonly) NSString *redirect_uri;
@property (nonatomic, copy, readwrite) NSString *code;
@property (nonatomic, copy, readonly) NSString *refresh_token;

- (instancetype)initWithGrantType:(GrantType)grantType;

@end
